#pragma once

#include <string>

using std::string;

struct Position {
    int line;
    int col;
    Position():line(1), col(0){}
};

class Token {
public:
    string tokenName;
    string word;
    Position startPos;
    Position endPos;
    Token() {
        tokenName = "";
        word = "";
    };
    Token(const string& word, const string& tokenName) : word(word), tokenName(tokenName){};
    void clear(){
        tokenName.clear();
        word.clear();
    }
};
